package com.github.pig.nideshop.common.enums;

import com.baomidou.mybatisplus.enums.IEnum;

import java.io.Serializable;

/**
  * @author J神
  * @date 2018/5/15
  **/
public enum OrderAction implements IEnum {
    DISTRIBUTE("分配",0),
    DELIVERY("配送",1),
    GATHERING("收款",2)
;
    Integer value;
    String  code;
    OrderAction(String code,Integer value){
        this.value=value;
        this.code=code;
    }
    @Override
    public Serializable getValue() {
        return value;
    }
}
